include make_include_basic
##
ROOTDIR = $(shell pwd)
PROJECTDIR = $(ROOTDIR)/ProjectFolder
BINARYDIR = $(ROOTDIR)/Binary
EXTERNALDIR = $(ROOTDIR)/ExternalLibrary
OBJECTDIR = $(ROOTDIR)/Objects
##
##
export ROOTDIR
export PROJECTDIR
export BINARYDIR
export EXTERNALDIR
export OBJECTDIR
##

all : project external

project :
	@echo compiling project
	@make -f $(PROJECTDIR)/Makefile all
external :
	@echo compiling external
	
cleanall : cleanobject
	@rm $(BINARYDIR)/*
	@echo deleting binary success

cleanobject :
	@rm $(OBJECTDIR)/*
	@echo deleting object success